package com.dr.service.impl;


import java.util.List;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dr.mapper.SchedulingMapper;
import com.dr.pojo.Register;
import com.dr.pojo.Scheduling;
import com.dr.service.SchedulingService;

@Service
public class SchedulingServiceImpl implements SchedulingService {
	@Autowired
	private SchedulingMapper mapper;
	
	@Override
	public List<Scheduling> findSchedulingList(Register regist) {
		// TODO Auto-generated method stub
		if(regist.getNoon().equals("上午")) {
			regist.setNoon(null);
		}
		return mapper.findSchedulingList(regist);
	}
		 
}
